WooCommerce\PayPalCommerce\Vaulting\PaymentTokenRepository S

Total Complexity 17
Dependencies 4
Dependents 8
Total lines 136
Lines of code 50
Logical lines of code 29
Comment lines 62
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
token_contains_source()
S
65 6 8
for_user_id()
S
61 4 12
all_for_user_id()
S
66 2 9
__construct()
S
77 1 4
delete_token()
S
75 1 4
tokens_contains_card()
S
79 1 3
tokens_contains_paypal()
S
79 1 3
fetch_for_user_id()
S
68 1 7